package com.fowo.api.controller.purchase.importPo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.EnumsString;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class WarehouseBinProductImportPo {
    /** 仓位 */
    @ExcelProperty("*仓位")
    @NotNull
    private String storageBin;
    /** 仓位 */
    @ExcelProperty("*SKU")
    @NotNull
    private String sku;
    @ExcelProperty("品名")
    private String productName;

    @ExcelProperty("店铺")
    private String shop;
    @ExcelProperty("FNSKU")
    private String fnsku;
    /** 仓位状态 */
    @ExcelProperty("取消关联")
    @EnumsString(
            value = { "是", "否" },
            message = "取消关联只能是“是”, “否”中的一个"
    )
    private String status;
}
